package com.gwcm.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.gwcm.exception.BusinessException;
import com.gwcm.model.dto.memberCard.MemberCardQueryRequest;
import com.gwcm.model.entity.MemberCard;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gwcm.model.vo.MemberCardVo;

/**
* @author 15375
* @description 针对表【member_card】的数据库操作Service
* @createDate 2023-03-21 16:19:38
*/
public interface MemberCardService extends IService<MemberCard> {

    IPage<MemberCardVo> pageList(MemberCardQueryRequest memberCardQueryRequest) throws BusinessException;

    void saveMemberCard(MemberCard memberCard);

    void updateMemberCard(MemberCard memberCard);

    MemberCard getMemberCardByCardNameVaildMonth(MemberCardQueryRequest memberCardQueryRequest);
}
